package com.twx;

import redis.clients.jedis.Jedis;

public class App {
    public static void main(String[] args) {
        System.out.println("Begin....");
        Jedis jedis = new Jedis(args[0],6379);
        jedis.subscribe(new MyJedisPubSub(),args[1]);
        System.out.println("End....");
    }
}
